package com.security.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("news")
public class NewsController {

    @GetMapping("newsList")
    public String getNewsListHtml(){
        return "system/news/newsList";
    }

    @GetMapping("newsAdd")
    public String getNewsAddHtml(){
        return "system/news/newsAdd";
    }

}
